package com.maizhi.controller;

import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller
@RequestMapping("/linkController")
public class linkController extends BaseController {
	
	private static final Logger logger = Logger.getLogger(linkController.class);
	
	//首页
	@RequestMapping(params = "index")
	public String liger(){
		return "/index";
	}
	
	//菜单管理主页
	@RequestMapping(params = "menuManger")
	public String menuManger(){
		return "/xtgl/menu_manger";
	}
	
	//资源管理主页
	@RequestMapping(params = "resourceManger")
	public String resourceManger(){
		return "/xtgl/resource_manger";
	}
	
	
	
	
	//组织管理主页
	@RequestMapping(params = "deptManger")
	public String deptManger(){
		return "/xtgl/dept_manger";
	}
	
	//用户管理主页
	@RequestMapping(params = "operManger")
	public String operManger(){
		return "/xtgl/oper_manger";
	}
	
	//角色管理主页
	@RequestMapping(params = "roleManger")
	public String roleManger(){
		return "/xtgl/role_manger";
	}
	
	//无路径页面
	@RequestMapping(params = "e404")
	public String e404() {
		return "/error/404";
	}
	
	//错误页面
	@RequestMapping(params = "e500")
	public String e500() {
		return "/error/500";
	}
	
	//demo
	@RequestMapping(params = "demo")
	public String demo() {
		return "/liger/index.htm";
	}
}
